{% load widgets %}

<h3>Archives</h3>
{% load_archives blog_slug %}

{% if archive_links %}
    <select onchange="document.location.href=this.options[this.selectedIndex].value;" id="archives-list">
        <option value="">Select Month</option>
        {% for obj in archive_links %}
              <option value="{{obj.url}}">{{ obj.label }}</option>
        {% endfor %}
    </select>
{% endif %}
